Object
Description
Base class of all Easypt classes, all objects are instances of Object
.
Example
let obj; // Object is default type
obj.addProperty("first", 1);
obj.addProperty("second", "a");
obj.removeProperty("second");
if (obj.hasOwnProperty("second"))
console.write(obj.second);
else
console.write(obj.first);
Expected output
1
Members
==
addProperty
classPrototype
getId
getOwnPropertyNames
hasOwnProperty
readOperator
removeProperty
toArray
toBoolean
toJson
toNumber
toString
Inherited members
==
addProperty
classPrototype
getId
getOwnPropertyNames
hasOwnProperty
readOperator
removeProperty
toArray
toBoolean
toJson
toNumber
toString
Properties
classPrototype